home *** CD-ROM | disk | FTP | other *** search
/ PC Users 1999 April / Cd Pc Users extra 19 abril 1999.iso / Pshare / Util / WinEject / SETUP.INF < prev    next >
Encoding:
Windows Setup INFormation  |  1999-02-20  |  4.4 KB  |  143 lines

  1. ;
  2. ; Setup-File for WinEject 1.3
  3. ;
  4. ; (c) 1997-99 by Ingo Heeskens
  5. ;
  6. ;  To install WinEject click with the
  7. ;  right mouse button on this file and
  8. ;  choose "Install" from the menu.
  9. ;
  10. ;  To uninstall WinEject go to 
  11. ;  "Control Panel", choose
  12. ;  "Add/Remove Software" and
  13. ;  remove "WinEject [Ingo Heeskens]"
  14. ;  from the list.
  15. ;
  16.  
  17. [Version]
  18. Signature="$chicago$" 
  19.  
  20. ;Windows 95/98: Installation WinEject
  21. [DefaultInstall]
  22. CopyFiles=WinEject.Files, WinEject.Inf, WinEject.Help
  23. AddReg=Registry.Uninstall.95, Registry.RunOnce
  24. UpdateInis=Create.Symbols
  25.  
  26. ;Windows NT: Installation WinEject
  27. [DefaultInstall.ntx86]
  28. CopyFiles=WinEject.Files, WinEject.Inf, WinEject.Help
  29. AddReg=Registry.Uninstall.NT, Registry.RunOnce
  30. UpdateInis=Create.Symbols
  31.  
  32. ;De-Installation WinEject
  33. [DefaultUninstall]
  34. DelReg=Registry.Uninstall.95, Registry.RemovePath, Registry.RunOnce
  35. UpdateInis=Remove.Symbols
  36. DelFiles=WinEject.Files, WinEject.Created, WinEject.Inf, WinEject.Help, WinEject.HelpCr
  37.  
  38. ;Source Disks
  39. [SourceDisksNames]
  40. 1="%01%",,1
  41.  
  42. [SourceDisksFiles]
  43. wineject.exe=1
  44. wineject.inf=1
  45. wineject.cnt=1
  46. wineject.hlp=1
  47.  
  48. ;copy wineject.exe to \windows
  49. [WinEject.Files]
  50. wineject.exe
  51.  
  52. ;copy setup.inf to \windows\inf\wineject.inf
  53. [WinEject.Inf]
  54. wineject.inf, setup.inf
  55.  
  56. ;copy help files to \windows\help
  57. [WinEject.Help]
  58. wineject.cnt
  59. wineject.hlp
  60.  
  61. ;delete files created by windows
  62. [WinEject.Created]
  63. wineject.pnf
  64.  
  65. [WinEject.HelpCr]
  66. wineject.gid
  67. wineject.fts
  68. wineject.ann
  69.  
  70. ;Destination Directories
  71. [DestinationDirs]
  72. WinEject.Files   = 10    ; LDID Windows directory
  73. WinEject.Inf     = 17    ; LDID Windows\Inf directory
  74. WinEject.Created = 17    ; LDID Windows\Inf directory
  75. WinEject.Help    = 18    ; LDID Windows\Help directory
  76. WinEject.HelpCr  = 18    ; LDID Windows\Help directory
  77.  
  78. ;display wineject.txt
  79. [Registry.RunOnce]
  80. ;HKLM,"%Reg_Path_Run%","display wineject.txt",,"%10%\notepad.exe %10%\wineject.txt"
  81. ;HKLM,"%Reg_Path_Run%","trying to register WinEject",,"%10%\regedit.exe %01%\wineject.reg"
  82.  
  83. ;registry entries for de-installation (Win 95/98)
  84. [Registry.Uninstall.95]
  85. HKLM,%UnInstallPath%,DisplayName,,"%DisplayName%"
  86. HKLM,%UnInstallPath%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\wineject.inf"
  87.  
  88. ;registry entries for de-installation (Win NT)
  89. [Registry.Uninstall.NT]
  90. HKLM,%UnInstallPath%,DisplayName,,"%DisplayName%"
  91. HKLM,%UnInstallPath%,UninstallString,,"%11%\rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 %17%\wineject.inf"
  92.  
  93. ;remove all program settings from registry
  94. [Registry.RemovePath]
  95. HKCU,"%Reg_Path%"
  96. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart1
  97. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart2
  98. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart3
  99. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart4
  100. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart5
  101. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart6
  102. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart7
  103. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart8
  104. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart9
  105. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart10
  106. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart11
  107. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart12
  108. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart13
  109. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart14
  110. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart15
  111. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart16
  112. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart17
  113. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart18
  114. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart19
  115. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart20
  116. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart21
  117. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart22
  118. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart23
  119. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart24
  120. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart25
  121. HKCU,"%Reg_Path_Auto%",WinEjectAutoStart26
  122. HKLM,"%UnInstallPath%"
  123.  
  124. ;create desktop symbols
  125. [Create.Symbols]
  126. setup.ini, progman.groups,,"group1=WinEject"
  127. setup.ini, group1,,""WinEject","%10%\wineject.exe""
  128. setup.ini, group1,,""WinEject - Help","%18%\wineject.hlp""
  129.  
  130. ;remove desktop symbols
  131. [Remove.Symbols]
  132. setup.ini, progman.groups,,"group1=WinEject"
  133. setup.ini, group1,,""WinEject""
  134. setup.ini, group1,,""WinEject - Help""
  135.  
  136. ;String constants
  137. [Strings]
  138. Reg_Path      = "Software\IngoH\WinEject"
  139. Reg_Path_Run  = "Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup"
  140. Reg_Path_Auto = "Software\Microsoft\Windows\CurrentVersion\Run"
  141. UnInstallPath = "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinEject [Ingo Heeskens]"
  142. DisplayName   = "WinEject [Ingo Heeskens]"
  143.